/**
 * 权限分级数据
 */
export const gradingOfAuthority = [
  {
    name: "商品管理",
    level: 1,
    path: "goods-list",
    children: [
      {
        name: "商品列表",
        level: 2,
        path: "goods-list",

        children: [
          {
            name: "添加商品",
            level: 3,
            path: "goods-list",
          },
          {
            name: "商品修改",
            level: 3,
            path: "goods-list",
          },
          {
            name: "商品删除",
            level: 3,
            path: "goods-list",
          },
          {
            name: "更新商品图片",
            level: 3,
            path: "goods-list",
          },
          {
            name: "更新商品属性",
            level: 3,
            path: "goods-list",
          },
          {
            name: "更新商品状态",
            level: 3,
            path: "goods-list",
          },
          {
            name: "获取商品详情",
            level: 3,
            path: "goods-list",
          },
        ],
      },
      {
        name: "分类参数",
        level: 2,
        path: "classification-params",

        children: [
          {
            name: "获取参数列表",
            level: 3,
            path: "goods-classification",
          },
          {
            name: "创建商品参数",
            level: 3,
            path: "goods-classification",
          },
          {
            name: "删除商品参数",
            level: 3,
            path: "goods-classification",
          },
        ],
      },
      {
        name: "商品分类",
        level: 2,
        path: "goods-classification",

        children: [
          {
            name: "添加分类",
            level: 3,
            path: "goods-classification",
          },
          {
            name: "删除分类",
            level: 3,
            path: "goods-classification",
          },
          {
            name: "获取分类详情",
            level: 3,
            path: "goods-classification",
          },
        ],
      },
    ],
  },
  {
    name: "订单管理",
    level: 1,
    path: "order-list",

    children: [
      {
        name: "订单列表",
        level: 2,
        path: "order-list",

        children: [
          {
            name: "添加订单",
            level: 3,
            path: "order-list",
          },
          {
            name: "订单更新",
            level: 3,
            path: "order-list",
          },
          {
            name: "获取订单详情",
            level: 3,
            path: "order-list",
          },
        ],
      },
    ],
  },
  {
    name: "权限管理",
    level: 1,
    path: "goods-classification",

    children: [
      {
        name: "角色列表",
        level: 2,
        path: "role-list",

        children: [
          {
            name: "添加角色",
            level: 3,
            path: "role-list",
          },
          {
            name: "删除角色",
            level: 3,
            path: "role-list",
          },
          {
            name: "角色授权",
            level: 3,
            path: "role-list",
          },
          {
            name: "取消角色授权",
            level: 3,
            path: "role-list",
          },
          {
            name: "获取角色列表",
            level: 3,
            path: "role-list",
          },
          {
            name: "获取角色详情",
            level: 3,
            path: "role-list",
          },
          {
            name: "更新角色信息",
            level: 3,
            path: "role-list",
          },
          {
            name: "更新角色权限",
            level: 3,
            path: "role-list",
          },
        ],
      },
      {
        name: "权限列表",
        level: 2,
        path: "permissions-list",

        children: [
          {
            name: "查看权限",
            level: 3,
            path: "permissions-list",
          },
        ],
      },
    ],
  },
  {
    name: "用户管理",
    level: 1,
    path: "user-list",

    children: [
      {
        name: "用户列表",
        level: 2,
        path: "user-list",

        children: [
          {
            name: "添加用户",
            level: 3,
            path: "user-list",
          },
          {
            name: "删除用户",
            level: 3,
            path: "user-list",
          },
          {
            name: "更新用户",
            level: 3,
            path: "user-list",
          },
          {
            name: "获取用户详情",
            level: 3,
            path: "user-list",
          },
          {
            name: "分配用户角色",
            level: 3,
            path: "user-list",
          },
          {
            name: "设置管理状态",
            level: 3,
            path: "user-list",
          },
        ],
      },
    ],
  },
  {
    name: "数据统计",
    level: 1,
    path: "data-report",

    children: [
      {
        name: "数据报表",
        level: 2,
        path: "data-report",

        children: [
          {
            name: "查看数据",
            level: 3,
            path: "data-report",
          },
        ],
      },
    ],
  },
];
